<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var score=prompt("请输入您的积分");
        if(score<2000){
            document.write("恭喜您,您获得9折优惠!")
        }else if(score>=2000&&score<4000){
            document.write("恭喜您,您获得亲妈打断腿之8折!")
        }else if(score>=4000&&score<8000){
            document.write("恭喜您,您获得三天不打,上房揭瓦之无敌7折!")
        }else if(score>=8000){
            document.write("恭喜您,您获得本店至尊无敌震撼我妈一整年爸爸看了打断腿,奶奶看了送鸡腿之至尊霹雳旋风火之6折!!!!!!!!")
        }else{
            document.write("TMD,把你的积分填上,OK?")
        }
    </script>
</body>
</html>